package org.dtrd.modules.device.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.device.entity.bean.DevicePushContentDetail;
import org.dtrd.modules.device.entity.po.DtrdEntRdDevicePushContent;

/**
 * <p>
 * 智能设备推送记录服务类
 * </p>
 *
 * @author xiao
 * @since 2022-01-12
 */
public interface IDtrdEntRdDevicePushContentService extends IService<DtrdEntRdDevicePushContent> {

    boolean saveOrUpdateDevicePushContent(DevicePushContentDetail dto);

    void saveOrUpdateDevicePushContent(String signature ,String sn, String content,  int brand,int category);

    DtrdEntRdDevicePushContent getPushRecordByMsgId(String signature);
}
